package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.core.RechargeMerchantDao;
import com.tbit.uqbike.client.pojo.RechargeMerchant;
import com.tbit.uqbike.client.service.RechargeMerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * TODO
 *
 * @Description
 * @Author zhengmin
 * @Date 2023/1/4 8:49
 **/
@Service
public class RechargeMerchantServiceImpl implements RechargeMerchantService {
    @Autowired
    private RechargeMerchantDao rechargeMerchantDao;

    @Override
    public void insert(RechargeMerchant rechargeMerchant) {
        rechargeMerchantDao.insert(rechargeMerchant);
    }

    @Override
    public RechargeMerchant getByOrderNO(String orderNO) {
        return rechargeMerchantDao.getByOrderNO(orderNO);
    }
}
